using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace QuanLyThietBi.Entity
{
                

     public class TBL_DonViTinhEntity:AF_ORM.CORE.BaseEntity
    {
         public TBL_DonViTinhEntity()
         {
             tableName = "TBL_DonViTinh";


			 fieldInfos.Add(new FieldInfo("TBL_DonViTinh","MaDonVi","MaDonVi","string",10,true,false,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_DonViTinh","MoTa","MoTa","string",50,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_DonViTinh","TenDonVi","TenDonVi","string",50,false,true,true,false,"","",""));
         }
       //properties
                    
		 protected string m_MaDonVi;
		 protected string m_MoTa;
		 protected string m_TenDonVi;

		 public string MaDonVi

          { 
                get { 
                    return m_MaDonVi;}

                set{m_MaDonVi=value;

                    GetField("MaDonVi").Set();
                    GetField("MaDonVi").IsNull=(value == null);           
                    }
          }
		 public string MoTa

          { 
                get { 
                    return m_MoTa;}

                set{m_MoTa=value;

                    GetField("MoTa").Set();
                    GetField("MoTa").IsNull=(value == null);           
                    }
          }
		 public string TenDonVi

          { 
                get { 
                    return m_TenDonVi;}

                set{m_TenDonVi=value;

                    GetField("TenDonVi").Set();
                    GetField("TenDonVi").IsNull=(value == null);           
                    }
          }

}
}
